package org.createModel.builder.demo1;

public class Client {
    public static void main(String[] args) {
        Builder builder = new MobileBuilder();
        Bike bike = builder.construct();
        System.out.println(bike.getSeat());
        System.out.println(bike.getFrame());

        builder = new OfoBike();
        bike = builder.construct();
        System.out.println(bike.getSeat());
        System.out.println(bike.getFrame());
    }
}
